package org.com.yz.dal.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.com.yz.dal.dao.model.HisAccntMchSub;
import org.com.yz.dal.dao.model.HisAccntProfile;
import util.MyMapper;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 分润账户---资金明细表 Mapper 接口
 * </p>
 *
 * @author fjj123
 * @since 2018-06-14
 */
public interface HisAccntProfileMapper extends MyMapper<HisAccntProfile> {

    List<HisAccntProfile> selectHisAccntProfile(HisAccntProfile hisAccntProfile);

    List<HisAccntProfile> selectHisAccntProfile(@Param("mchNo")String mchNo, @Param("orderNo")String orderNo);


    void updateHisProfileByTime(HisAccntProfile hisAccntProfile);

    void updateHisProfileByTime(@Param("mchNo")String mchNo,@Param("dates") String dates, @Param("amount")Long amount,@Param("mchAccntNo")String mchAccntNo);
}
